﻿@model Samples.BareMinimum.Areas.Services.Models.Product

@{
    ViewBag.Title = Model.Name;
}

<h2>Model.Name</h2>
<div class="product">
    <dl class="product">
        <dt>uri</dt><dd><a href="@Model.Uri">@Model.Uri</a></dd>
        <dt>id</dt><dd>@Model.Id</dd>
        <dt>name</dt><dd>@Model.Name</dd>
        @if (Model.UnitPrice != null) {<dt>unitPrice</dt><dd>@Model.UnitPrice</dd>}
        <dt>unitsInStock</dt><dd>@Model.UnitsInStock</dd>
    </dl>
</div>
